﻿@model XtremBiking.Web.Models.Usuarios.UserChangePassword

@{
    ViewBag.Title = @XtremBiking.Recursos.Vistas.Usuarios.ChangePassword.Title;
}

<h2>@XtremBiking.Recursos.Vistas.Usuarios.ChangePassword.Legend</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
@*        <legend>@XtremBiking.Recursos.Vistas.Usuarios.ChangePassword.Legend</legend>*@

@*        <div class="editor-label">
            @Html.LabelFor(model => model.CurrentPassword)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CurrentPassword)
            @Html.ValidationMessageFor(model => model.CurrentPassword)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NewPassword)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NewPassword)
            @Html.ValidationMessageFor(model => model.NewPassword)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ConfirmNewPassword)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ConfirmNewPassword)
            @Html.ValidationMessageFor(model => model.ConfirmNewPassword)
        </div>*@

       @Html.EditorForModel()
       
        <p>
             <input type="submit" value="@XtremBiking.Recursos.Vistas.Usuarios.ChangePassword.AcceptButton" class="btn btn-success" />
             @Html.ActionLink(XtremBiking.Recursos.Vistas.Usuarios.ChangePassword.CancelButton, "Index", "Home", null , new { @class="btn btn-danger" })

        </p>
    </fieldset>
}

@*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@
